package net.esj.basic.dao.jdbc.jpa.mysql;

import net.esj.basic.dao.jdbc.jpa.support.QuerySupport;

public class QueryImpl extends QuerySupport {

	public QueryImpl(String sql) {
		super(sql);
	}

	public String composePaginationSql(String sql) {
		return "select * from ("+sql+") limit "+this.firstResult+","+this.maxResults;
	}

}
